package com.reebake.ideal.message.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;

@Data
@ConfigurationProperties(prefix = "message")
public class MessageProperties {

    @NestedConfigurationProperty
    private VerifyCodeProperties verifyCode = new VerifyCodeProperties();

    @Data
    public static class VerifyCodeProperties {
        private long usernameTriggerCaptchaTimes = 0;
    }
}
